<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
 <head>
  <meta http-equiv="content-type" content="text/html; charset=UTF-8">
  <title>The SolrModifiableParams class</title>

 </head>
 <body><div class="manualnavbar" style="text-align: center;">
 <div class="prev" style="text-align: left; float: left;"><a href="solrparams.unserialize.html">SolrParams::unserialize</a></div>
 <div class="next" style="text-align: right; float: right;"><a href="solrmodifiableparams.construct.html">SolrModifiableParams::__construct</a></div>
 <div class="up"><a href="book.solr.html">Solr</a></div>
 <div class="home"><a href="index.html">PHP Manual</a></div>
</div><hr /><div id="class.solrmodifiableparams" class="reference">

 <h1 class="title">The SolrModifiableParams class</h1>
 

 <div class="partintro"><p class="verinfo">(PECL solr &gt;= 0.9.2)</p>


  <div class="section" id="solrmodifiableparams.intro">
   <h2 class="title">简介</h2>
   <p class="para">
    Represents a collection of name-value pairs sent to the Solr server during a request.
   </p>
  </div>


  <div class="section" id="solrmodifiableparams.synopsis">
   <h2 class="title">类摘要</h2>


   <div class="classsynopsis">
    <div class="ooclass"></div>


    <div class="classsynopsisinfo">
     <span class="ooclass">
      <strong class="classname">SolrModifiableParams</strong>
     </span>
     
     <span class="ooclass">
      <span class="modifier">extends</span>
      <a href="class.solrparams.html" class="classname">SolrParams</a>
     </span>
     
     <span class="oointerface">implements 
      <span class="interfacename"><strong class="interfacename">Serializable</strong></span>
     </span>
     {</div>

    
    <div class="classsynopsisinfo classsynopsisinfo_comment">/* 方法 */</div>
    <div class="methodsynopsis dc-description">
   <span class="modifier">public</span> <span class="methodname"><a href="solrmodifiableparams.construct.html" class="methodname">__construct</a></span>
    ( <span class="methodparam">void</span>
   )</div>
<div class="methodsynopsis dc-description">
   <span class="modifier">public</span> <span class="type">void</span><span class="methodname"><a href="solrmodifiableparams.destruct.html" class="methodname">__destruct</a></span>
    ( <span class="methodparam">void</span>
   )</div>

    
    <div class="classsynopsisinfo classsynopsisinfo_comment">/* 继承的方法 */</div>
    <div class="methodsynopsis dc-description">
   <span class="modifier">final</span> <span class="modifier">public</span> <span class="type">SolrParams</span><span class="methodname"><a href="solrparams.add.html" class="methodname">SolrParams::add</a></span>
    ( <span class="methodparam"><span class="type">string</span> <code class="parameter">$name</code></span>
   , <span class="methodparam"><span class="type">string</span> <code class="parameter">$value</code></span>
   )</div>
<div class="methodsynopsis dc-description">
   <span class="modifier">public</span> <span class="type">SolrParams</span><span class="methodname"><a href="solrparams.addparam.html" class="methodname">SolrParams::addParam</a></span>
    ( <span class="methodparam"><span class="type">string</span> <code class="parameter">$name</code></span>
   , <span class="methodparam"><span class="type">string</span> <code class="parameter">$value</code></span>
   )</div>
<div class="methodsynopsis dc-description">
   <span class="modifier">final</span> <span class="modifier">public</span> <span class="type">mixed</span><span class="methodname"><a href="solrparams.get.html" class="methodname">SolrParams::get</a></span>
    ( <span class="methodparam"><span class="type">string</span> <code class="parameter">$param_name</code></span>
   )</div>
<div class="methodsynopsis dc-description">
   <span class="modifier">final</span> <span class="modifier">public</span> <span class="type">mixed</span><span class="methodname"><a href="solrparams.getparam.html" class="methodname">SolrParams::getParam</a></span>
    ([ <span class="methodparam"><span class="type">string</span> <code class="parameter">$param_name</code></span>
  ] )</div>
<div class="methodsynopsis dc-description">
   <span class="modifier">final</span> <span class="modifier">public</span> <span class="type">array</span><span class="methodname"><a href="solrparams.getparams.html" class="methodname">SolrParams::getParams</a></span>
    ( <span class="methodparam">void</span>
   )</div>
<div class="methodsynopsis dc-description">
   <span class="modifier">final</span> <span class="modifier">public</span> <span class="type">array</span><span class="methodname"><a href="solrparams.getpreparedparams.html" class="methodname">SolrParams::getPreparedParams</a></span>
    ( <span class="methodparam">void</span>
   )</div>
<div class="methodsynopsis dc-description">
   <span class="modifier">final</span> <span class="modifier">public</span> <span class="type">string</span><span class="methodname"><a href="solrparams.serialize.html" class="methodname">SolrParams::serialize</a></span>
    ( <span class="methodparam">void</span>
   )</div>
<div class="methodsynopsis dc-description">
   <span class="modifier">final</span> <span class="modifier">public</span> <span class="type">void</span><span class="methodname"><a href="solrparams.set.html" class="methodname">SolrParams::set</a></span>
    ( <span class="methodparam"><span class="type">string</span> <code class="parameter">$name</code></span>
   , <span class="methodparam"><span class="type">string</span> <code class="parameter">$value</code></span>
   )</div>
<div class="methodsynopsis dc-description">
   <span class="modifier">public</span> <span class="type">SolrParams</span><span class="methodname"><a href="solrparams.setparam.html" class="methodname">SolrParams::setParam</a></span>
    ( <span class="methodparam"><span class="type">string</span> <code class="parameter">$name</code></span>
   , <span class="methodparam"><span class="type">string</span> <code class="parameter">$value</code></span>
   )</div>
<div class="methodsynopsis dc-description">
   <span class="modifier">final</span> <span class="modifier">public</span> <span class="type">string</span><span class="methodname"><a href="solrparams.tostring.html" class="methodname">SolrParams::toString</a></span>
    ([ <span class="methodparam"><span class="type">bool</span> <code class="parameter">$url_encode</code><span class="initializer"> = false</span></span>
  ] )</div>
<div class="methodsynopsis dc-description">
   <span class="modifier">final</span> <span class="modifier">public</span> <span class="type">void</span><span class="methodname"><a href="solrparams.unserialize.html" class="methodname">SolrParams::unserialize</a></span>
    ( <span class="methodparam"><span class="type">string</span> <code class="parameter">$serialized</code></span>
   )</div>


   }</div>


  </div>

 </div>

 















<h2>Table of Contents</h2><ul class="chunklist chunklist_reference"><li><a href="solrmodifiableparams.construct.html">SolrModifiableParams::__construct</a> — Constructor</li><li><a href="solrmodifiableparams.destruct.html">SolrModifiableParams::__destruct</a> — Destructor</li></ul>
</div>
<hr /><div class="manualnavbar" style="text-align: center;">
 <div class="prev" style="text-align: left; float: left;"><a href="solrparams.unserialize.html">SolrParams::unserialize</a></div>
 <div class="next" style="text-align: right; float: right;"><a href="solrmodifiableparams.construct.html">SolrModifiableParams::__construct</a></div>
 <div class="up"><a href="book.solr.html">Solr</a></div>
 <div class="home"><a href="index.html">PHP Manual</a></div>
</div></body></html>
